//
//  QYGGameModel.h
//  wawaji_ios
//
//  Created by 云+物娱 on 2017/12/7.
//  Copyright © 2017年 yiguo qi. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface QYGGameResultModel : NSObject

/** 游戏记录id*/
@property (nonatomic, assign) NSInteger record_id;

/** 用户id */
@property (nonatomic, strong) NSString *user_id;

/** 游戏机id */
@property (nonatomic, assign) NSInteger machine_id;

/** 操作记录id */
@property (nonatomic, assign) NSInteger log_id;

/** 耗费的游戏币个数 */
@property (nonatomic, assign) NSInteger coin;

/** 操作结果 : 1 成功， 2->失败 */
@property (nonatomic, assign) NSInteger operate_result;
/** 商品id */
@property (nonatomic, assign) NSInteger ware_id;

/** 商品名称 */
@property (nonatomic, assign) NSInteger ware_name;

/**  */
@property (nonatomic, assign) NSInteger ware_image;

/**  */
@property (nonatomic, assign) NSInteger ware_status;

/**  */
@property (nonatomic, assign) NSInteger order_id;

/**  */
@property (nonatomic, strong) NSString *created_at;

/**  */
@property (nonatomic, strong) NSString *updated_at;

@end
@interface QYGGameModel : NSObject

/** 游戏记录id*/
@property (nonatomic, assign) NSInteger record_id;

/** 用户id */
@property (nonatomic, strong) NSString *user_id;

/** 游戏机id */
@property (nonatomic, assign) NSInteger machine_id;

/** 操作记录id */
@property (nonatomic, assign) NSInteger log_id;

/** 耗费的游戏币个数 */
@property (nonatomic, assign) NSInteger coin;

/** 操作结果  */
@property (nonatomic, assign) NSInteger operate_resut;
/** 商品id */
@property (nonatomic, assign) NSInteger ware_id;

/** 商品名称 */
@property (nonatomic, assign) NSInteger ware_name;

/** 订单id */
@property (nonatomic, assign) NSInteger order_id;

/** 商品图片 */
@property (nonatomic, strong) NSString *ware_image;
//本次游戏发送操作指令的socket连接
@property (nonatomic, strong) NSString *ws_url;
@property (nonatomic, assign) NSInteger time;
@property (nonatomic, strong) NSString *device_id;
@end


@interface QYGGameMessageModel : NSObject

@property (nonatomic, strong) NSString *message;
@property (nonatomic, assign) NSInteger code;
@property (nonatomic, strong) QYGGameModel *data;
@end
